import request from "../utlis/Request"



export default{
    queryAnnouncementList(){
       return request({
        method: 'get',
        url: '/Announcement/queryAnnouncementList',
       })
    },

    queryCarouselmapList(){
        return request({
         method: 'get',
         url: '/Carouselmap/queryCarouselmapList',
        })
     },
     updateAnnouncement(data){
      return request({
       method: 'post',
       url: '/Announcement/updateAnnouncement',
       data: {
         id: data.id,
         title: data.title,
         content: data.content
       }
      })
   },
   updateCarouselmap(data){
      return request({
       method: 'post',
       url: '/Carouselmap/updateCarouselmap',
       data: {
         carouselmaps: data
       }
      })
   },

}